import { navbar } from "vuepress-theme-hope";

export const zhNavbar = navbar([
  "/",
  {
    text: "代码笔记",
    icon: "creative",
    prefix: "/codenotes/",
    children: [
      {
        text: "前端",
        icon: "config",
        prefix: "前端/",
        children: [
          { text: "vue", icon: "more", link: "vue/" },
          { text: "css", icon: "more", link: "css/" },
          { text: "interview", icon: "more", link: "interview/" },
        ],
      },
      {
        text: "Flutter",
        icon: "config",
        link: "flutter/" 
      },
      {
        text: "Java",
        icon: "config",
        prefix: "java/",
        link: "JavaSE/" 
      },
    ],
  },
  { text: "随笔杂谈", icon: "discover", link: "/essays/" },
  {
    text: "V2 文档",
    icon: "note",
    link: "https://vuepress-theme-hope.github.io/v2/zh/",
  },
]);
